Fix animated gifs (Bug#6981).
authorChong Yidong <cyd@stupidchicken.com>
Sun, 29 May 2011 21:35:35 +0000 (17:35 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 29 May 2011 21:35:35 +0000 (17:35 -0400)
commit3bee715386499484f2196297cb0a0f3a05f91999
tree565a0aa4ad86e29284bdfaf34a979cc7f6a6c422
parente1c2aeccdaeb4822a065af364c7262bcc155c69b
Fix animated gifs (Bug#6981).

* lisp/image-mode.el (image-toggle-display-image): Ensure that the
image spec passed to the animate timer is the same object as in
the the buffer's display property.
(image-transform-properties): Doc fix.

* lisp/image.el (image-animate-max-time): Default to nil.

* lisp/image.el (image-animate-max-time): Allow nil and t values.
Default to nil.
(create-animated-image): Doc fix.
(image-animate-start): Remove second arg; just use
image-animate-max-time.
(image-animate-timeout): Doc fix.  Args changed.
lisp/ChangeLog
lisp/image-mode.el
lisp/image.el